package com.rs.dao;

import com.github.pagehelper.Page;
import com.rs.model.ZhGoOut;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ZhGoOutMapper {


    int deleteByPrimaryKey(Integer goId);

    int insert(ZhGoOut record);

    int insertSelective(ZhGoOut record);

    ZhGoOut selectByPrimaryKey(Integer goId);

    int updateByPrimaryKeySelective(ZhGoOut record);

    int updateByPrimaryKey(ZhGoOut record);
    
    //人员外出信息审核
    int updateGoOutAudit(ZhGoOut record);
    
    //根据审核状态查询所有人员的外出信息记录
    Page<ZhGoOut> selectGoOutAudit(ZhGoOut goout);
    
    //员工查看自己所有的审核信息
    Page<ZhGoOut> selectOneselfGoOutAudit(ZhGoOut record);
}